import request from '@/utils/request'


//查询
export  function globalList(query){
  return request({
    url:'/system/report/variable/list',
    method:'get',
    params:query
  })
}
//新增
export function globalAdd(data){
  return request({
    url:'/system/report/variable/add',
    method:'post',
    data
  })
}
//编辑
export function globalEdit(data){
  return request({
    url:'/system/report/variable/edit',
    method:'post',
    data
  })
}

//删除
export function globalDelete(data){
  return request({
    url:'/system/report/variable/remove',
    method:'post',
    data
  })
}
// 删除数据前校验
export function deleteForCheck(data) {
  return request({
    url: '/system/report/variable/deleteCheck',
    method: 'post',
    data: data
  })
}
